import {lazy} from 'react'
import {createBrowserRouter} from 'react-router-dom'
const Login=lazy(()=>import('../Page/Login'))
const Home=lazy(()=>import('../Page/Home'))
export const router=createBrowserRouter([
  {
    path:'/',
    element:<Login/>
  },
  {
    path:'/home',
    element:<Home/>
  }
])